﻿using System;
using Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.AzureStorage;
using Microsoft.Practices.TransientFaultHandling;

namespace Sustainalytics.Utils
{
    public class RetryPolicy : RetryPolicy<StorageTransientErrorDetectionStrategy>
    {
        static Incremental retryStrategy = new Incremental(10, TimeSpan.FromSeconds(10), TimeSpan.FromSeconds(10));

        public RetryPolicy()
            : base(retryStrategy)
        {
        }
    }
}
